package com.sg.dto.biz.bff.common;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Objects;

/**
 * @desc BffMsgReachOtherImportantLevelDto
 * @使用场景
 */
@Data
public class BffMsgReachOtherImportantLevelDto implements Serializable {

    /**
     * 层级名称
     */
    @ApiModelProperty("层级名称")
    private String levelName;

    /**
     * 层级语义故事
     */
    @ApiModelProperty("层级语义故事")
    private String levelStory;

    /**
     * 消息层级
     */
    @ApiModelProperty("消息层级")
    private String msgLevel;

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        if (!super.equals(o)) return false;
        BffMsgReachOtherImportantLevelDto that = (BffMsgReachOtherImportantLevelDto) o;
        return levelName == that.levelName && levelStory == that.levelStory && msgLevel == that.msgLevel;
    }

    @Override
    public int hashCode() {
        return Objects.hash(super.hashCode(), levelName, levelStory, msgLevel);
    }

}
